1
general::
Phrase(s): by day [and] by night
during the day; during the night. (Often used in simultaneous clauses for contrast.) • By day, Mary worked in an office; by night, she took classes. • Dave slept by day and worked by night.
McGrawhill's American Idioms And Phrasal Verbs